3.320 \(\int \frac{\cosh ^3(c+d x)}{a+b \sinh ^2(c+d x)} \, dx\)

Optimal. Leaf size=52 \[ \frac{\sinh (c+d x)}{b d}-\frac{(a-b) \tan ^{-1}\left (\frac{\sqrt{b} \sinh (c+d x)}{\sqrt{a}}\right )}{\sqrt{a} b^{3/2} d} \]

[Out]

-(((a - b)*ArcTan[(Sqrt[b]*Sinh[c + d*x])/Sqrt[a]])/(Sqrt[a]*b^(3/2)*d)) + Sinh[c + d*x]/(b*d)

________________________________________________________________________________________

Rubi [A]  time = 0.0704174, antiderivative size = 52, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {3190, 388, 205} \[ \frac{\sinh (c+d x)}{b d}-\frac{(a-b) \tan ^{-1}\left (\frac{\sqrt{b} \sinh (c+d x)}{\sqrt{a}}\right )}{\sqrt{a} b^{3/2} d} \]

Antiderivative was successfully verified.

[In]

Int[Cosh[c + d*x]^3/(a + b*Sinh[c + d*x]^2),x]

[Out]

-(((a - b)*ArcTan[(Sqrt[b]*Sinh[c + d*x])/Sqrt[a]])/(Sqrt[a]*b^(3/2)*d)) + Sinh[c + d*x]/(b*d)

Rule 3190

Int[cos[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_.), x_Symbol] :> With[{ff = Free
Factors[Sin[e + f*x], x]}, Dist[ff/f, Subst[Int[(1 - ff^2*x^2)^((m - 1)/2)*(a + b*ff^2*x^2)^p, x], x, Sin[e +
f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]

Rule 388

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(d*x*(a + b*x^n)^(p + 1))/(b*(n*
(p + 1) + 1)), x] - Dist[(a*d - b*c*(n*(p + 1) + 1))/(b*(n*(p + 1) + 1)), Int[(a + b*x^n)^p, x], x] /; FreeQ[{
a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && NeQ[n*(p + 1) + 1, 0]

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rubi steps

\begin{align*} \int \frac{\cosh ^3(c+d x)}{a+b \sinh ^2(c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1+x^2}{a+b x^2} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac{\sinh (c+d x)}{b d}-\frac{(a-b) \operatorname{Subst}\left (\int \frac{1}{a+b x^2} \, dx,x,\sinh (c+d x)\right )}{b d}\\ &=-\frac{(a-b) \tan ^{-1}\left (\frac{\sqrt{b} \sinh (c+d x)}{\sqrt{a}}\right )}{\sqrt{a} b^{3/2} d}+\frac{\sinh (c+d x)}{b d}\\ \end{align*}

Mathematica [A]  time = 0.0434289, size = 50, normalized size = 0.96 \[ \frac{\frac{\sinh (c+d x)}{b}-\frac{(a-b) \tan ^{-1}\left (\frac{\sqrt{b} \sinh (c+d x)}{\sqrt{a}}\right )}{\sqrt{a} b^{3/2}}}{d} \]

Antiderivative was successfully verified.

[In]

Integrate[Cosh[c + d*x]^3/(a + b*Sinh[c + d*x]^2),x]

[Out]

(-(((a - b)*ArcTan[(Sqrt[b]*Sinh[c + d*x])/Sqrt[a]])/(Sqrt[a]*b^(3/2))) + Sinh[c + d*x]/b)/d

________________________________________________________________________________________

Maple [B]  time = 0.049, size = 732, normalized size = 14.1 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(d*x+c)^3/(a+b*sinh(d*x+c)^2),x)

[Out]

1/d*a^2/b/(-b*(a-b))^(1/2)/((2*(-b*(a-b))^(1/2)+a-2*b)*a)^(1/2)*arctanh(a*tanh(1/2*d*x+1/2*c)/((2*(-b*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2*b)*a)^(1
/2))-1/d/b/(tanh(1/2*d*x+1/2*c)+1)-1/d/b/(tanh(1/2*d*x+1/2*c)-1)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )} e^{\left (-d x - c\right )}}{2 \, b d} - \frac{1}{8} \, \int \frac{16 \,{\left ({\left (a e^{\left (3 \, c\right )} - b e^{\left (3 \, c\right )}\right )} e^{\left (3 \, d x\right )} +{\left (a e^{c} - b e^{c}\right )} e^{\left (d x\right )}\right )}}{b^{2} e^{\left (4 \, d x + 4 \, c\right )} + b^{2} + 2 \,{\left (2 \, a b e^{\left (2 \, c\right )} - b^{2} e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(d*x+c)^3/(a+b*sinh(d*x+c)^2),x, algorithm="maxima")

[Out]

1/2*(e^(2*d*x + 2*c) - 1)*e^(-d*x - c)/(b*d) - 1/8*integrate(16*((a*e^(3*c) - b*e^(3*c))*e^(3*d*x) + (a*e^c -
b*e^c)*e^(d*x))/(b^2*e^(4*d*x + 4*c) + b^2 + 2*(2*a*b*e^(2*c) - b^2*e^(2*c))*e^(2*d*x)), x)

________________________________________________________________________________________

Fricas [B]  time = 1.6135, size = 1754, normalized size = 33.73 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(d*x+c)^3/(a+b*sinh(d*x+c)^2),x, algorithm="fricas")

[Out]

[1/2*(a*b*cosh(d*x + c)^2 + 2*a*b*cosh(d*x + c)*sinh(d*x + c) + a*b*sinh(d*x + c)^2 + sqrt(-a*b)*((a - b)*cosh
(d*x + c) + (a - b)*sinh(d*x + c))*log((b*cosh(d*x + c)^4 + 4*b*cosh(d*x + c)*sinh(d*x + c)^3 + b*sinh(d*x + c
)^4 - 2*(2*a + b)*cosh(d*x + c)^2 + 2*(3*b*cosh(d*x + c)^2 - 2*a - b)*sinh(d*x + c)^2 + 4*(b*cosh(d*x + c)^3 -
 (2*a + b)*cosh(d*x + c))*sinh(d*x + c) - 4*(cosh(d*x + c)^3 + 3*cosh(d*x + c)*sinh(d*x + c)^2 + sinh(d*x + c)
^3 + (3*cosh(d*x + c)^2 - 1)*sinh(d*x + c) - cosh(d*x + c))*sqrt(-a*b) + b)/(b*cosh(d*x + c)^4 + 4*b*cosh(d*x
+ c)*sinh(d*x + c)^3 + b*sinh(d*x + c)^4 + 2*(2*a - b)*cosh(d*x + c)^2 + 2*(3*b*cosh(d*x + c)^2 + 2*a - b)*sin
h(d*x + c)^2 + 4*(b*cosh(d*x + c)^3 + (2*a - b)*cosh(d*x + c))*sinh(d*x + c) + b)) - a*b)/(a*b^2*d*cosh(d*x +
c) + a*b^2*d*sinh(d*x + c)), 1/2*(a*b*cosh(d*x + c)^2 + 2*a*b*cosh(d*x + c)*sinh(d*x + c) + a*b*sinh(d*x + c)^
2 - 2*sqrt(a*b)*((a - b)*cosh(d*x + c) + (a - b)*sinh(d*x + c))*arctan(1/2*sqrt(a*b)*(cosh(d*x + c) + sinh(d*x
 + c))/a) - 2*sqrt(a*b)*((a - b)*cosh(d*x + c) + (a - b)*sinh(d*x + c))*arctan(1/2*(b*cosh(d*x + c)^3 + 3*b*co
sh(d*x + c)*sinh(d*x + c)^2 + b*sinh(d*x + c)^3 + (4*a - b)*cosh(d*x + c) + (3*b*cosh(d*x + c)^2 + 4*a - b)*si
nh(d*x + c))*sqrt(a*b)/(a*b)) - a*b)/(a*b^2*d*cosh(d*x + c) + a*b^2*d*sinh(d*x + c))]

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(d*x+c)**3/(a+b*sinh(d*x+c)**2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(d*x+c)^3/(a+b*sinh(d*x+c)^2),x, algorithm="giac")

[Out]

Exception raised: TypeError